<div class="vip_right1">
                <div class="vip_title png">
                  <ul>
                    <li class="hover png"><a href="javascript:void(0)">个人信息</a></li>
                    <li class="png"><a href="javascript:void(0)">修改密码</a></li>
                  </ul>
                </div>
                <div class="vip_right_more_box">
                  <div class="vip_right_more_top png">
                  </div>
                  <div class="vip_right_more_middle height20">
                    <form id="form1" method="post" alt="require check" action="__URL__/memberEdit/">
                          <div style="display:block;" class="vip_box1">
                                <ul>
                                    <li><i>登陆名：</i><b>{$userinfo.account}</b></li>
                                    <li><i>会员积分：</i><b>{$userinfo.score}</b></li>
                                    <li><i>真实姓名：</i><b><input type="text" class="text2" name="name" value="{$userinfo.name}" >
                                      <select name="sex" class="choice_man">
                                        <option value="0">--请选择性别--</option>
                                        <option value="1" <eq name="userinfo.sex" value="1">selected</eq> >男</option>
                                        <option value="2" <eq name="userinfo.sex" value="2">selected</eq> >女</option>
                                    </select>
                                    </b></li>
                                    <li><i>证件：</i><b>
                                      <select name="paypers" style="margin:0;" class="choice_man">
                                        <volist name="payper_type" id="pp">
                                          <option value="{$key}" <eq name="userinfo.paypers" value="$key">selected</eq> >{$pp}</option>
                                      </volist>
                                      </select>
                                      <input type="text" class="text3" name="payper_no" value="{$userinfo.payper_no}"></b></li>
                                    <li><i>地址：</i><b><input type="text" class="text4" name="address" value="{$userinfo.address}"></b></li>
                                    <li><i>E-mail：</i><b><input type="text" class="text1" name="email" value="{$userinfo.email}"></b></li>
                                    <li><i>E-mail1：</i><b><input type="text" class="text1" name="email1" value="{$userinfo.email1}"></b></li>
                                    <li><i>E-mail2：</i><b><input type="text" class="text1" name="email2" value="{$userinfo.email2}"></b></li>

                                    <li><i>电话：</i><b><input type="text" class="text1" name="telephone" value="{$userinfo.telephone}"></b></li>
                                    <li><i>手机：</i><b><input type="text" class="text1" name="mobile" value="{$userinfo.mobile}"></b></li>
                                    <li><i>手机1：</i><b><input type="text" class="text1" name="mobile1" value="{$userinfo.mobile1}"></b></li>
                                    <li><i>手机2：</i><b><input type="text" class="text1" name="mobile2" value="{$userinfo.mobile2}"></b></li>
                                    <li><i>QQ：</i><b><input type="text" class="text1" name="qq" value="{$userinfo.qq}"></b></li>
                                    <li><i>MSN：</i><b><input type="text" class="text1" name="msn" value="{$userinfo.msn}"></b></li>
                                    <li><i>Gtalk：</i><b><input type="text" class="text1" name="gtalk" value="{$userinfo.gtalk}"></b></li>
                                    <li><i>Skype：</i><b><input type="text" class="text1" name="skype" value="{$userinfo.skype}"></b></li>

                                    <li><i>所在单位：</i><b><input type="text" class="text1" name="company" value="{$userinfo.company}"></b></li>
                                    <li><i>网址：</i><b><input type="text" class="text1" name="website" value="{$userinfo.website}"></b></li>
                                </ul>
                                <input type="hidden" name="id" value="{$userinfo.id}" />
                                <input type="button" value="修改" class="change_btn" onclick="chksub(1);return false;">
                            </div>
                          </form>

                          <form id="form2" method="post" action="__URL__/resetPw/">
                            <div class="vip_box1">
                                <ul>
                                    <li><i>登陆名：</i><b>{$userinfo.account}</b></li>
                                    <li><i>新密码：</i><b><input id="password" name="password" type="password" class="text1"></b></li>
                                    <li><i>确认密码：</i><b><input type="password" id="repassword" name="repassword"  class="text1"></b></li>
                                </ul>
                                <input type="button" value="修改" class="change_btn" onclick="chksub(2);return false;">
                            </div>
                          </form>
                  </div>
                  <div class="vip_right_more_bottom png">
                  </div>
                </div>
              </div>




<script type="text/javascript">
	function chksub(id) {
		if($('#password').val() != $('#repassword').val()){
			alert("请输入相同的密码!");
			return false;
		}
		$('#form'+id).submit();
	}
</script>
